package com.base.cn.platform.os.dao.manage.count;

import com.base.cn.platform.os.common.mybatis.BaseDao;
import com.base.cn.platform.os.entity.manage.count.PageViewCount;
import com.base.cn.platform.os.entity.manage.count.PageViewCountNum;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 页面PV统计Dao
 *
 * @author s.li
 * @create 2018-01-15-15:51
 */
@Mapper
public interface PageViewCountDao extends BaseDao<PageViewCount> {

    /**
     * 查询每个栏目访问量统计数据
     * @param  year 年份
     * @return 统计数据实体
     */
    List<PageViewCountNum> queryPageViewCountNum(@Param("clazz") Class<PageViewCount> clazz,@Param("year") String year);
}
